<?php
/**
 * Created by PhpStorm.
 * User: DELL
 * Date: 2018/7/13
 * Time: 19:14
 */

namespace app\common\lib;


class Time
{
    /**
     * 生成13位的时间戳,只是为了让sign的值唯一性更强一些
     * @return int
     */
    public static function get13TimeStamp()
    {
        list($t1,$t2) = explode(' ',microtime());
        return $t2.ceil($t1 * 1000);
    }
}